import java.util.Arrays;

public class doubleshuzu {
    public static void transform(int[] array){
        for (int i = 0; i < array.length; i++) {
            array[i] *= 2;
        }
        System.out.println(Arrays.toString(array));
    }


    public static void main(String[] args) {
        int[] ret = {1 ,2 ,3};
        transform(ret);
    }
}
